package com.example.gty.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "ROLE_PREMISSION")
public class RolePremissionVo {
    @Id
    @Column(name = "ROLE")
    private String role;

    @Column(name = "PREMISSION")
    private String premission;
    private List<String> list;

}